package com.sunyifeng.ch29;

import java.util.List;

/**
 * 数据访问对象接口
 */
public interface StudentDao {

    List<Student> getAllStudents();

    Student getStudent(int rollNo);

    void updateStudent(Student student);

    void deleteStudent(Student student);

}
